fixed linker option order