Added  some checks so that it doesn't add certain binaries as references for the f# compiler (that would break compilation)