fixed usage of BUILD_BEFORE which was erroneoulsy being used instead of FIRST_TARGETS...