Fixed project file for release build

Removed old link instruction from when Flow was in a separate project,
and added preprocessor settings for release build.