Making build script work across platforms. Ignoring executables