Return error code from Makefile if compile fails