Remove `defined(...) or define(..., ...)` from applications entrance scripts

Its absoluttely meaningless to have such construction inside entrance scripts. It looks like an old stereotype.