When compiling, will now create object directory if it doesn't exist.