fix issue when used in deployment projects, should always recompile