Add configurable export capabilities

Compilation standard is now gnu99 (previously was c99).