Add -threaded and -O2 back to resolve build issue on some machines that default to using single threaded runtime