Added ldflags for posix support
GCC is persnickety about source ending w/ newline
Reloacted stdio to top of module for GCC support
GCC is more of a stickler about use of std::string::npos
Merge branch 'bugfix-loader-gcc-ld'