It seems that gatekeeper now applies tighter checks on libraries dinamically linked from executables included in a package. This is a workaround until a proper solution is found. Fixes #3468