add newline at end of file to make compilers happy
add more linker flags for dynamic linking against the build environment