Works on compiler=native now!
Works on compiler=native now!

Added a bunch of helper functions to check whether to use .cma or .cmxa
extensions depending on if we're building bytecode or native code.
Also fixed the linking (-custom isn't available when building with
ocamlopt).

jordwalke/CommonML,jordwalke/CommonML