add multithreaded compilation for nginx php openssl and imagemagick