Improved pre-processor directives to better accommodate future alternatives (matlab)
if necessary.