support for optimized builds