removed non portable 'whereis'