use release build flag on cmake
extract downloaded files in external/