Cocos compile -p android fails with Undefined reference to bsd_signal

This bas been previously answered here: Cocos2d-x v3.12 released!