update linker flags and update to latest framework