Fixed target Makefiles to support code refactor, which has the nice effect
of make all_fw compiling.