Made APR, Assimp, Freeimage, libsndfile and portaudio optional dependencies