cd into build dir before running post_compile step.