build: Fixed build bug with Linuxes having Matlab
Addresses Mantis #143. As usual, this may not work with all Matlab versions. Tested Win7 64bit with 32bit Matlab r2011b, and Linux Mint 13 with 64bit Matlab r2013a. Additionally, made the build a bit less noisy.
Showing with 61 additions and 53 deletions