Compilation option was at wrong place.