Fixed broken build order of openssl library and the rest