Removed compiler warnings when compiling from the main makefile