Mv pre-build actions to Makefile prebuild task