Updated link flags for optimized build