This function should be split into src_configure and src_compile to allow a sane resume of the compilation process, which is not possible atm, as configure is called again.