Running optimizer on build,
fixes for Intellisense & optimized build